package com.asktgapp.eventbus;

import org.greenrobot.eventbus.EventBus;

/**
 * time:2018/1/24
 * Create By ZhaoKai
 * Email: dczk@foxmail.com
 * Description:
 */

public class HomeServiceItemEvent {

    private boolean type;

    public HomeServiceItemEvent(boolean type) {
        this.type = type;
    }

    public boolean getType() {
        return type;
    }

    public void setType(boolean type) {
        this.type = type;
    }

    public static void postEvent(boolean a) {
        EventBus.getDefault().post(new HomeServiceItemEvent(a));
    }
}
